function fetchApi(url, callback) {
  wx.request({
    url,
    data: {
      cellphone: "22222"
    },
    method: 'POST',
    header: {
      'content-type': 'application/json'
    },    
    success(res) {
      callback(null, res.data)
    },
    fail(e) {
      callback(e)
    }
  })
}

module.exports = {
  fetchApi: fetchApi
}